package com.jml.springcloud;

import com.jml.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication
@EnableEurekaClient
//针对某个微服务   使用自定义的规则
@RibbonClient(name = "CLOUD-DEPT" ,configuration = MySelfRule.class)
public class DeptConsumer80_App {

	public static void main(String[] args)
	{
		SpringApplication.run(DeptConsumer80_App.class, args);
	}
}
